home *** CD-ROM | disk | FTP | other *** search
- function brandEnabler(loaderName)
- {
- navMovList_mc.buttons_mc[loaderName].hitVal = 1;
- navMovList_mc.buttons_mc[loaderName].hit_mc.enabled = false;
- navMovList_mc.buttons_mc[prevName].hit_mc.enabled = true;
- navMovList_mc.buttons_mc[prevName].hit_mc.colorTo(0,0.3,"easeOutSine");
- navMovList_mc.buttons_mc[prevName].name_txt.colorTo(16770048,0.3,"easeOutSine");
- navMovList_mc.buttons_mc[prevName].arrow_txt.colorTo(16777215,0.3,"easeOutSine");
- navMovList_mc.buttons_mc[prevName].loadBar_mc.tween("_width",0,0.3,"easeInSine");
- prevName = loaderName;
- }
- function SUBEnabler(SloaderName)
- {
- navMovDown_mc.buttons_mc[SloaderName].hitVal = 1;
- navMovDown_mc.buttons_mc[SloaderName].hit_mc.enabled = false;
- navMovDown_mc.buttons_mc[SprevName].hit_mc.enabled = true;
- navMovDown_mc.buttons_mc[SprevName].hit_mc.colorTo(0,0.3,"easeOutSine");
- navMovDown_mc.buttons_mc[SprevName].name_txt.colorTo(16770048,0.3,"easeOutSine");
- navMovDown_mc.buttons_mc[SprevName].arrow_txt.colorTo(16777215,0.3,"easeOutSine");
- navMovDown_mc.buttons_mc[SprevName].loadBar_mc.tween("_width",0,0.3,"easeInSine");
- SprevName = SloaderName;
- }
- function LoadSubMovie(node)
- {
- navMovDown_mc.gotoAndStop(1);
- b = 0;
- while(b < imageTotal)
- {
- imageTotal = content_xml.firstChild.childNodes[3].childNodes[node].childNodes.length;
- btnRoll = content_xml.firstChild.childNodes[3].childNodes[node].childNodes[b].attributes.ref;
- btnName = content_xml.firstChild.childNodes[3].childNodes[node].childNodes[b].firstChild.nodeValue;
- if(b == 0)
- {
- var _loc1_ = "button" + b + "_mc";
- navMovDown_mc.buttons_mc.attachMovie("buttonMovieDL_mc",_loc1_,b);
- navMovDown_mc.buttons_mc[_loc1_]._alpha = 0;
- navMovDown_mc.buttons_mc[_loc1_].alphaTo(100,0.3,"easeOutSine");
- navMovDown_mc.buttons_mc[_loc1_].name_txt.html = true;
- navMovDown_mc.buttons_mc[_loc1_].name_txt.autoSize = "left";
- navMovDown_mc.buttons_mc[_loc1_].name_txt.wordWrap = true;
- navMovDown_mc.buttons_mc[_loc1_].name_txt.htmlText = btnName;
- navMovDown_mc.buttons_mc[_loc1_].HRLink = btnRoll;
- navMovDown_mc.buttons_mc[_loc1_].PLink = btnRoll;
- navMovDown_mc.buttons_mc[_loc1_].PNum = b;
- }
- else
- {
- _loc1_ = "button" + b + "_mc";
- navMovDown_mc.buttons_mc.attachMovie("buttonMovieDL_mc",_loc1_,b);
- navMovDown_mc.buttons_mc[_loc1_]._alpha = 0;
- navMovDown_mc.buttons_mc[_loc1_].alphaTo(100,0.3,"easeOutSine");
- var _loc3_ = Math.round(navMovDown_mc.buttons_mc._height);
- var _loc4_ = Bspacing;
- navMovDown_mc.buttons_mc[_loc1_].name_txt.autoSize = "left";
- navMovDown_mc.buttons_mc[_loc1_].name_txt.wordWrap = true;
- navMovDown_mc.buttons_mc[_loc1_].name_txt.html = true;
- navMovDown_mc.buttons_mc[_loc1_].name_txt.htmlText = btnName;
- navMovDown_mc.buttons_mc[_loc1_]._y = _loc4_ + _loc3_;
- navMovDown_mc.buttons_mc[_loc1_].HRLink = btnRoll;
- navMovDown_mc.buttons_mc[_loc1_].PLink = btnRoll;
- navMovDown_mc.buttons_mc[_loc1_].PNum = b;
- }
- if(b == imageTotal - 1)
- {
- if(navMovDown_mc.buttons_mc._height > 115)
- {
- navMovDown_mc.gotoAndStop(2);
- }
- }
- b++;
- }
- }
- stop();
- nodeCount_var = 3;
- imageCharSub_mc.alphaTo(0,0.3,"easeInQuad",0.6);
- imageCharSub_mc.colorTo(16777215,0.3,"easeInQuad",0.4);
- imageCharMain_mc.alphaTo(0,0.3,"easeInQuad",0.4);
- imageCharMain_mc.colorTo(16777215,0.3,"easeInQuad",0.2);
- imageLogoMain_mc.alphaTo(0,0.3,"easeInQuad",0.2);
- imageLogoMain_mc.colorTo(16777215,0.3,"easeInQuad");
- middle_mc.tween("_width",197,0,"easeInQuad");
- movieTitleDL_mc._alpha = 0;
- imageLogoSub_mc.alphaTo(0,0.2,"easeOutSine");
- loadBackBlack_mc.alphaTo(80,0,"easeOutSine");
- loadIntoMe_mc.alphaTo(0,0,"easeOutSine");
- var Bspacing = 1;
- b = 0;
- while(b < imageTotal)
- {
- imageTotal = content_xml.firstChild.childNodes[3].childNodes.length;
- moviePreview = content_xml.firstChild.childNodes[3].childNodes[b].attributes.preview;
- btnName = content_xml.firstChild.childNodes[3].childNodes[b].attributes.title;
- if(b == 0)
- {
- var butName = "button" + b + "_mc";
- navMovList_mc.buttons_mc.attachMovie("buttonMovie",butName,b);
- navMovList_mc.buttons_mc[butName]._alpha = 0;
- navMovList_mc.buttons_mc[butName].alphaTo(100,0.3,"easeOutSine");
- navMovList_mc.buttons_mc[butName].name_txt.html = true;
- navMovList_mc.buttons_mc[butName].name_txt.autoSize = "left";
- navMovList_mc.buttons_mc[butName].name_txt.wordWrap = true;
- navMovList_mc.buttons_mc[butName].name_txt.htmlText = btnName;
- navMovList_mc.buttons_mc[butName].HRLink = btnRoll;
- navMovList_mc.buttons_mc[butName].PLink = moviePreview;
- navMovList_mc.buttons_mc[butName].PNum = b;
- }
- else
- {
- var butName = "button" + b + "_mc";
- navMovList_mc.buttons_mc.attachMovie("buttonMovie",butName,b);
- navMovList_mc.buttons_mc[butName]._alpha = 0;
- navMovList_mc.buttons_mc[butName].alphaTo(100,0.3,"easeOutSine");
- var buttonsHeight = Math.round(navMovList_mc.buttons_mc._height);
- var y = Bspacing;
- navMovList_mc.buttons_mc[butName].name_txt.autoSize = "left";
- navMovList_mc.buttons_mc[butName].name_txt.wordWrap = true;
- navMovList_mc.buttons_mc[butName].name_txt.html = true;
- navMovList_mc.buttons_mc[butName].name_txt.htmlText = btnName;
- navMovList_mc.buttons_mc[butName]._y = y + buttonsHeight;
- navMovList_mc.buttons_mc[butName].HRLink = btnRoll;
- navMovList_mc.buttons_mc[butName].PLink = moviePreview;
- navMovList_mc.buttons_mc[butName].PNum = b;
- }
- if(b == imageTotal - 1)
- {
- if(navMovList_mc.buttons_mc._height > 115)
- {
- navMovList_mc.gotoAndStop(2);
- }
- }
- b++;
- }
-